<?php

/**
 * BaseController
 * 
 * @author
 * @version 
 */

require_once 'Zend/Controller/Action.php';

class BaseController extends Zend_Controller_Action {
	/**
	 * The default action - show the home page
	 */
	public function init() {
		$this->initView();
		$this->view->baseUrl = ROOT_DIR;
		$this->view->siteInfo = Zend_Registry::get('siteInfo');
		$translate = Zend_Registry::get('translate');
		$this->view->declareVars(array('t' => $translate));
	}
}